package com.dao;

import com.entity.ExaminationPaper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Version: V1.0    <br/>
 * Datetime:   2022/5/15 16:34   <br/>
 * Description: ${DES}
 *
 * @author: chen
 */
@Mapper
public interface ExaminationPaperMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ExaminationPaper record);

    int insertSelective(ExaminationPaper record);

    ExaminationPaper selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ExaminationPaper record);

    int updateByPrimaryKey(ExaminationPaper record);

    Long counterTotalNumber(@Param("name") String name, @Param("status") Integer status);

    List<ExaminationPaper> selectByPage(@Param("offset") Integer offset, @Param("pageSize") Integer pageSize, @Param("name") String name, @Param("status") Integer status);
}